import var


def new_process(win, time_split_input, rand_num_input, ui_main):
    win.close()
    var.time_split = int(time_split_input)
    var.rand_num = int(rand_num_input)
